<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
session_start(); //we need to call PHP's session object to access it through CI
class Home extends Auth_Controller {
	function __construct()
	{
		parent::__construct();
	}

	function index()
	{
		$this -> load -> model('home_model','',TRUE);
		$this -> data['result'] = $this -> home_model -> getData();
		$this -> data['contents'] = $this -> load -> view('home_view',$this -> data,true);
		$this -> data['page_title'] = 'Twin Tulipware';
		$this -> load -> view('template_default',$this -> data);
	}
}
?>

